<template>
    <a-sub-menu>
        <template #title>
            <span>
                <PartitionOutlined />
                <span>引擎管理</span>
            </span>
        </template>
        <a-menu-item key="/flow/define">
            <router-link to="/flow/define">
                <ApartmentOutlined />
                <span>流程定义</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/flow/event">
            <router-link to="/flow/event">
                <ApartmentOutlined />
                <span>事件管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/flow/design">
            <router-link to="/flow/design">
                <ApartmentOutlined />
                <span>流程设计</span>
            </router-link>
        </a-menu-item>
    </a-sub-menu>
</template>

<script setup>
import {
    SafetyOutlined,
    UserOutlined,
    PartitionOutlined,
    BranchesOutlined,
    BankOutlined,
    ApartmentOutlined,
    UserAddOutlined
} from '@ant-design/icons-vue'
const props = defineProps({
    theme: {
        type: String,
        default: 'light'
    }
})
</script>